package atguigu07.object.equals.apply;

/**
 * ClassName: Customer
 * Package: atguigu07.object.equals.apply
 * Description:
 *
 * @Author BuTang
 * @Create 2023/3/8 20:23
 * @Version 1.0
 */
public class Customer extends Account{
    private String name ;
    private Account account;

    public Customer(double balance, String account, String name) {
        super(balance, account);
        this.name = name;
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}
